package com.quanyan.user.model.db;

import java.io.Serializable;
import java.util.Date;

public class TbUserTask implements Serializable {
    private Integer id;

    //用户id
    private Integer uid;

    //任务id
    private Integer taskId;

    //是否完成 1 领取 0 未完成 2 已领取
    private Byte status;

    //已经完成的次数
    private Integer completeNum;

    private Byte taskType;

    private Date createTime;

    private Date updateTime;

    static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Integer getCompleteNum() {
        return completeNum;
    }

    public void setCompleteNum(Integer completeNum) {
        this.completeNum = completeNum;
    }

    public Byte getTaskType() {
        return taskType;
    }

    public void setTaskType(Byte taskType) {
        this.taskType = taskType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "TbUserTask{" +
                "id=" + id +
                ", uid=" + uid +
                ", taskId=" + taskId +
                ", status=" + status +
                ", completeNum=" + completeNum +
                ", taskType=" + taskType +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}